#pragma once
#include <memory.h>
struct TgaHeader
{
	TgaHeader()
	{
		memset( this, 0, sizeof(TgaHeader) );
		imgtype = 2;
		pixelsize = 32;
		tgadesc = 40;
	}
	char infolen;
	char pallet;
	char imgtype;
	char pelletdata[5];
	unsigned short xstart;
	unsigned short ystart;
	unsigned short width;
	unsigned short height;
	char pixelsize;
	char tgadesc;
};